package com.bw.cart.mapper;

import com.bw.domain.*;
import com.bw.domain.vo.DiscountCouponVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface CartMapper {


    Cart selectCartItemBySKuId(Long skuId);

    PmsSkuInfo selectSkuInfoBySkuId(Long skuId);

    Shop findByShopId(Long userId);

    List<DiscountCoupon> selectCouponByShopId(Long skuId);

    List<CoupinType> findByCouponId(Integer couponId);


    PmsSkuInfo selectSku(Integer skuId);

    List<DiscountCoupon> selectDiscountCoupon(Long skuId);

    DiscountCouponVo selectCouponBySkuId(Integer couponId);

    CoupinType selectCatrType(Integer couponType);
}
